package be.telio.freeagent.api;

import be.telio.freeagent.model.*;

public interface FreeAgentService
{
    public FAInvoices getInvoices();

    public FAAttachments getAttachments();

    public FABankAccounts getBankAccounts();

    public FATasks getTasks();

    public FAProjects getProjects();

    public <T> T getEntity(Class<T> clazz, Integer id);

    public <T> T getEntityList(Class<T> clazz);

    public FAContacts getContacts();

    public FAContact addContact(FAContact contact);

    public void addInvoice(FAInvoice invoice);
}
